﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Product
/// </summary>
public class DTO_Product
{
    private int _Manufacturer_Id;

    public int Manufacturer_Id
    {
        get { return _Manufacturer_Id; }
        set { _Manufacturer_Id = value; }
    }

    private string _GroupProduct_Id;

    public string GroupProduct_Id
    {
        get { return _GroupProduct_Id; }
        set { _GroupProduct_Id = value; }
    }

    private string _Name;

    public string Name
    {
        get { return _Name; }
        set { _Name = value; }
    }
    private string _Detail;

    public string Detail
    {
        get { return _Detail; }
        set { _Detail = value; }
    }

    private string _Price;

    public string Price
    {
        get { return _Price; }
        set { _Price = value; }
    }

    private string _Image;

    public string Image
    {
        get { return _Image; }
        set { _Image = value; }
    }

    private int _View;

    public int View
    {
        get { return _View; }
        set { _View = value; }
    }

    private int _Buy;

    public int Buy
    {
        get { return _Buy; }
        set { _Buy = value; }
    }

    private string _Date;

    public string Date
    {
        get { return _Date; }
        set { _Date = value; }
    }

    private int _Order;

    public int Order
    {
        get { return _Order; }
        set { _Order = value; }
    }

    private bool _Status;

    public bool Status
    {
        get { return _Status; }
        set { _Status = value; }
    }
	public DTO_Product()
	{
        _Manufacturer_Id = 0;
        _GroupProduct_Id = "";
        _Name = "";
        _Detail = "";
        _Price = "";
        _Image = "";
        _View = 0;
        _Buy = 0;
        _Date = "1/1/1990";
        _Order = 0;
        _Status = true;
	}
    public DTO_Product(int manufacturer,string group, string name, string detail, string price, string image, int view, int buy, string date,int order,bool status)
    {
        _Manufacturer_Id = manufacturer;
        _GroupProduct_Id = group;
        _Name = name;
        _Detail = detail;
        _Price = price;
        _Image = image;
        _View = view;
        _Buy = buy;
        _Date = date;
        _Order = order;
        _Status = status;
    }
}